package sist.erp.db.Insa;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

public class EmpManager extends SqlMapClientDaoSupport {
	public Integer empFindId(String id) throws Exception{
		return (Integer)getSqlMapClientTemplate().queryForObject("empFindId",id);
	}
	public void empInsert(EmpVO vo) throws Exception{
		getSqlMapClientTemplate().insert("empInsert", vo);
	}
	public Integer loginId(String id) throws Exception{
		return (Integer)getSqlMapClientTemplate().queryForObject("loginId",id);
	}
	public EmpVO loginPw(String id) throws Exception{
		return (EmpVO)getSqlMapClientTemplate().queryForObject("loginPw",id);
	}
	public Integer findEmpNo(String id) throws Exception{
		return (Integer)getSqlMapClientTemplate().queryForObject("findEmpNo",id);
	}
}
